package net.hn.hnms.biz.project.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import net.hn.hnms.biz.project.domain.QualityControlFile;

import java.util.Date;
import java.util.List;

/**
 * @author 刘昊
 * @date 2024-03-13 10:27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("问题整改清单")
public class ProblemRectificationVo extends BaseVO {

    @ApiModelProperty(value = "id")
    private String problemId;

    @ApiModelProperty(value = "项目id")
    private String projectId;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "整改下发日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd"
    )
    private Date deliveryDate;

    @ApiModelProperty(value = "整改完成日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd"
    )
    private Date completioDate;

    @ApiModelProperty(value = "整改标题")
    private String rectificationTitle;

    @ApiModelProperty(value = "整改人")
    private String corrector;

    @ApiModelProperty(value = "施工单位")
    private String constructionUnit;

    @ApiModelProperty(value = "整改内容")
    private String rectificationContent;

    @ApiModelProperty(value = "附件")
    private List<QualityControlFile> qualityControlFileList;

    @ApiModelProperty(value = "公司编码")
    private String companyCode;


}
